package com.sftz.assets.enums;

import com.uxuexi.core.common.enums.IEnum;

/**
 * (文件大小相关枚举)
 * @Date	 2018年10月10日
 */
public enum FileSizeEnum implements IEnum {

	FIVEHUNDRED_M(1, "1M"), EIGHTHUNDRED_M(2, "50M"), ONE_G(3, "200M"), ONEPOINTFIVE_G(4, "500M"), TWO_G(5, "1G");
	private int key;
	private String value;

	private FileSizeEnum(final int key, final String value) {
		this.value = value;
		this.key = key;
	}

	@Override
	public String key() {
		return String.valueOf(key);
	}

	@Override
	public String value() {
		return value;
	}

	public int intKey() {
		return key;
	}

}
